﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.Xml.Serialization;

    [MessageContract(WrapperName="CreateCertificate", WrapperNamespace="http://www.onvif.org/ver10/device/wsdl", IsWrapped=true), DebuggerStepThrough, GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public class CreateCertificateRequest
    {
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=0), XmlElement(DataType="token")]
        public string CertificateID;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=1)]
        public string Subject;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=3)]
        public System.DateTime ValidNotAfter;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=2)]
        public System.DateTime ValidNotBefore;

        public CreateCertificateRequest()
        {
        }

        public CreateCertificateRequest(string CertificateID, string Subject, System.DateTime ValidNotBefore, System.DateTime ValidNotAfter)
        {
            this.CertificateID = CertificateID;
            this.Subject = Subject;
            this.ValidNotBefore = ValidNotBefore;
            this.ValidNotAfter = ValidNotAfter;
        }
    }
}

